<!DOCTYPE HTML>
<html  lang="zh" xmlns:th="http://www.thymeleaf.org">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-meetingSystem-edit" th:object="${meetingSystem}">
            <input id="msId" name="msId" th:field="*{msId}"  type="hidden">
			<div class="form-group">	
				<label class="col-sm-3 control-label">参加会议姓名：</label>
				<div class="col-sm-8">
					<input id="userName" name="userName" th:field="*{userName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">手机号：</label>
				<div class="col-sm-8">
					<input id="phone" name="phone" th:field="*{phone}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">编号：</label>
				<div class="col-sm-8">
					<input id="num" name="num" th:field="*{num}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">队名，组名：</label>
				<div class="col-sm-8">
					<input id="teamName" name="teamName" th:field="*{teamName}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">培训角色：</label>
				<div class="col-sm-8">
					<!--<input id="statusRoleId" name="statusRoleId" th:field="*{statusRoleId}" class="form-control" type="text">-->
					<select name="statusRoleId" th:field="*{statusRoleId}" th:with="type=${@dict.getType('role_type')}" class="form-control">
						<option value="">所有</option>
						<option th:each="dict : ${type}" th:text="${dict.dictLabel}" th:value="${dict.dictValue}"></option>
					</select>
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">队呼号：</label>
				<div class="col-sm-8">
					<input id="teamCall" name="teamCall" th:field="*{teamCall}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">加分：</label>
				<div class="col-sm-8">
					<input id="bonusPoints" name="bonusPoints" th:field="*{bonusPoints}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">	
				<label class="col-sm-3 control-label">减分：</label>
				<div class="col-sm-8">
					<input id="points" name="points" th:field="*{points}" class="form-control" type="text">
				</div>
			</div>

			<div class="form-group">
				<label class="col-sm-3 control-label">公司名称：</label>
				<div class="col-sm-8">
					<input id="companyName" name="companyName" th:field="*{companyName}" class="form-control" type="text">
				</div>
			</div>


			<div class="form-group">
				<label class="col-sm-3 control-label">所属公司：</label>
				<div class="col-sm-8">
					<input id="companyPost" name="companyPost" th:field="*{companyPost}" class="form-control" type="text">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-3 control-label">创建时间：</label>
				<div class="col-sm-8">
					<input id="createTime"  th:value="${#dates.format(meetingSystem.createTime, 'yyyy-MM-dd')}" class="form-control" type="text">
				</div>
			</div>
		</form>
    </div>
    <div th:include="include::footer"></div>
    <script type="text/javascript">
		var prefix = ctx + "system/meetingSystem";
		$("#form-meetingSystem-edit").validate({
			rules:{
				xxxx:{
					required:true,
				},
			},
			focusCleanup: true
		});
		
		function submitHandler() {
	        if ($.validate.form()) {
	            $.operate.save(prefix + "/edit", $('#form-meetingSystem-edit').serialize());
	        }
	    }
	</script>
</body>
</html>
